/**
 * 设备检定列表
 * author harry
 */
const deviceCali = {
  list: [
    {
      title: '序号',
      dataIndex: 'index',
      key: 'index',
    },
    {
      title: '计划名称',
      dataIndex: 'name',
      key: 'name',
      render: (text) => (
        <>
          <div>{ text.substring(0,10)}</div>
          <div>{ text.substring(10)}</div>
        </>
      )
    },
    {
      title: '设备名称',
      dataIndex: 'deviceName',
      key: 'deviceName',
      render: (text) => (
        <>
          <div>{ text.substring(0,10)}</div>
          <div>{ text.substring(10)}</div>
        </>
      )
    },
    {
      title: '设备使用部门',
      dataIndex: 'groupName',
      key: 'groupName',
    },
    {
      title: '检定员',
      dataIndex: 'assayUserName',
      key: 'assayUserName',
    },
    {
      title: '执行时间',
      dataIndex: 'time',
      key: 'time',
      render: () => {},
    },
    {
      title: '计划状态',
      dataIndex: 'statusName',
      key: 'statusName',
    },
    {
      title: '执行状态',
      dataIndex: 'actionStatusName',
      key: 'actionStatusName',
    },
    {
      title: '操作',
      dataIndex: '',
      key: 'x',
      align: 'right',
      render: () => {},
      // <>
      //   <span className="td-gray">上传报告</span>
      //   <span className="td-gray">审批</span>
      //   <span className="td-blue">编辑</span>
      //   <span className="td-blue">删除</span>
      //   <span className="td-blue" onClick={() => toDetail()}>查看详情</span>
      // </>
    },
  ],
};

export default deviceCali;
